package com.itfreer.data.metadata;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.itfreer.data.metadata.entity.DataDictionaryDirectoryEntity;
import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

import io.swagger.annotations.Api;

/**
 * 字典目录
 */
@RestController
@RequestMapping("/dictionarydirectory")
@Api("字典目录")
public class RestDictionaryDirectoryService extends BaseRestService<DataDictionaryDirectoryEntity> {

	@Autowired(required = false)
	private DictionaryDirectoryService service;

	@Override
	protected BaseService<DataDictionaryDirectoryEntity> getService() {
		return service;
	}
}
